package dao.mysql;

import java.sql.*;

public class ConnectionProperties {

	public static final String dbUrl = "jdbc:mysql://localhost:3306/fbs";
	public static final String dbUserName = "root";
	public static final String dbPassword = "password123";
	public static Connection getConnection()
	{
		Connection con=null;
		try {
			Class.forName("com.mysql.jdbc.Driver");
			con=DriverManager.getConnection(dbUrl,dbUserName,dbPassword);
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	return con;
	}
}
